package create_创建型.singleton_factory_单例模式;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: hihi
 * @Date: 2020/07/03/15:07
 * @Description:
 */
public class SingletonObject {

	private static SingletonObject SINGLETONOBJECT = new SingletonObject();

	private SingletonObject() {
	}

	public static SingletonObject getInstance() {
		return SINGLETONOBJECT;
	}

	public void call() {
		System.err.println("call");
	}
}
